﻿<include file="Public/header" />
<div class="navbar-collapse collapse">
				<ul class="nav navbar-nav">
					<li class="active" id="dingdan">
						<a href="__MODULE__/Admin/index">订单</a>
					</li>
					<li class="dropdown" id="shangpin">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
							商品
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu">
							<li>
								<a href="__MODULE__/Admin/productcate">商品分类</a>
							</li>
							<li>
								<a href="__MODULE__/Admin/product">商品管理</a>
							</li>
						</ul>
					</li>
					<li class="dropdown" id="weixinset">
						<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
							微信设置
							<b class="caret"></b>
						</a>
						<ul class="dropdown-menu">
							<li>
								<a href="__MODULE__/Weixin/index" id="weixinset">微信初始化</a>
							</li>
							<li>
								<a href="__MODULE__/Weixin/autoreplay" id="weixinset">自动回复</a>
							</li>
							<li>
								<a href="__MODULE__/Weixin/diynav" id="weixinset">自定义菜单</a>
							</li>
						</ul>
					</li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li>
						<a href="javascript:void(0)">{{$username}}</a>
					</li>
					<li>
						<a href="__MODULE__/Admin/quit">退出</a>
					</li>
				</ul>
			</div>
			<!--/.nav-collapse -->
		</div>
	</div>
    <div class="container">
      <table class="table  table-bordered table-hover">
		  <thead>
		    <tr>
		      <th class="text-center">订单编号</th>
		      <th class="text-center">订单用户</th>
		      <th class="text-center">联系方式</th>
		      <th class="text-center">订单商品(商品名-单价-数量)</th>
		      <th class="text-center">订单总价</th>
		      <th class="text-center">订单地址</th>
		      <th class="text-center">订单时间</th>
		      <th class="text-center">订单状态</th>
		    </tr>
		  </thead>
		  <tbody>
		  <volist name="list" id="vo">
			  <tr>
			    <td class="text-center">{{$vo.orderid}}</td>
			    <td class="text-center">{{$vo.username}}</td>
			    <td class="text-center">{{$vo.mobile}}</td>
			    <td class="text-center"><volist name="listdetail" id="li"><eq name="vo.orderid" value="$li.orderid">{{$li.title}}---{{$li.price}}---{{$li.quantity}}<br/></eq></volist></td>
				<td class="text-center">{{$vo.totalprice}}元</td>
				<td class="text-center">{{$vo.address}}</td>
				<td class="text-center">{{$vo.time}}</td>
				<td class="text-center">{{$vo.status}}</td>
			  </tr>
		  </volist>
		  </tbody>
	  </table>
	  <div class="text-right">{{$page}}</div>
    </div> <!-- /container -->
    
<include file="Public/footer" />
